#ifndef GLOBALMANAGER_H
#define GLOBALMANAGER_H

#include "Database.h"
#include <map>


class GlobalManager
{
	public:
		GlobalManager();
		~GlobalManager();

		bool Init(Database& _pDB);

		int GetValue(eGlobalKey _key);

		bool UpdateValue(eGlobalKey _key, int _value);



	protected:
	private:

		map<eGlobalKey, int> m_DataMap;

		Database* m_pDB;
};

#endif // GLOBALMANAGER_H
